﻿using CommandLine;

namespace MyLib.ViewStateServer {
	/// <summary>
	/// 
	/// </summary>
	public class CommandLineOptions {
		/// <summary>
		/// 
		/// </summary>
		[Option('h', "host", DefaultValue = "", HelpText = "Local host to bind.", Required = false)]
		public string Host { get; set; }

		/// <summary>
		/// 
		/// </summary>
		[Option('p', "port", DefaultValue = 19420, HelpText = "Local port to bind.", Required = false)]
		public int Port { get; set; }

		/// <summary>
		/// 
		/// </summary>
		[Option("timeout", DefaultValue = 600, HelpText = "Timeout of viewstate", Required = false)]
		public int Timeout { get; set; }
	} // end of CommandLineOptions. 
}
